package com.htsk.city.services.core.entity;
import com.htsk.city.services.core.domain.SysDict;
import lombok.Data;

@Data
public class DictVo {
    public int value;
    private String label;

    public DictVo(){}

    public DictVo(SysDict sysDict){
        if (sysDict!=null){
            this.value=sysDict.getDataValueId();
            this.label=sysDict.getDataValue();
        }

    }

}
